<?php

class projectinfoViewModel extends ViewModel
{
    public $viewFields = array(
        'custom' => array('id' => "cid", "cname", "tel", "company", "address", "_as" => "c"),
        'projecttype' => array("name" => "typename", "_as" => "t"),
        'project' => array('*', "_as" => "p", '_on' => 'p.custid=c.id and p.type=t.id'),
    );

}

?>
